#!/bin/bash



echo "all in one strat lwb create"


# 定义要执行的脚本列表
list=(
    "task1.sh"
    "task2.sh"      
    "task3.sh"
    # "task3-2.sh"  # 6.0版本
    # "task3-3.sh"  # 4.0版本，在cent7上使用
    "task4.sh"
    "task5.sh"
    "task6.sh"  #配置vsftpd
    "task6-1.sh"    # # 启动vsftpd
    "task7.sh"
)

# 循环执行脚本
for list in "${list[@]}"; do
    echo "开始执行 $list"
    bash -x "$list"
    echo "$list 执行成功"
    read -p "按回车键继续执行下一个脚本"
done

echo "所有任务执行完毕"